import {takeLatest} from 'redux-saga/effects'
import {
    SCREEN
} from 'action/const'

import {screenChange} from "./listenScreen";

// 切换语言
function* screen() {
    yield takeLatest(SCREEN, screenChange);
}

export default function* rootSaga() {
    yield screen();
}